#include "BSHPFilter.h"

BSHPFilter::BSHPFilter()
{
	m_name = "High-Pass Filter Cutoff";
}

BSHPFilter::~BSHPFilter()
{

}

void BSHPFilter::Update()
{	
	if (m_mouseDidIntersect && m_mouseButtonWasReleased)
	{
		m_sound->SetHPFilter(m_amount);

		m_mouseButtonWasReleased = false;
		m_mouseDidIntersect = false;
	}
}